package org.wmsafe.service.impl;

import org.springframework.stereotype.Service;
import org.wmsafe.mapper.HeadLinkMapper;
import org.wmsafe.pojo.HeadLink;
import org.wmsafe.service.HeadLinkService;

import javax.annotation.Resource;
import java.util.List;

@Service
public class HeadLinkServiceImpl implements HeadLinkService {

    @Resource
    HeadLinkMapper headLinkMapper;

    @Override
    public void setHeadLinkMapper(HeadLinkMapper headLinkMapper) {
        this.headLinkMapper = headLinkMapper;
    }

    @Override
    public List<HeadLink> list() {
        return headLinkMapper.list();
    }
}
